<div class="container_12">
		<h1><a href="/" id="logo">心嘉源</a></h1>
			<ul id="menu">
				<% [["首页","/home"], 
						["产品及服务","/pages"],
						["解决方案","/solutions"],
						["公司新闻", "/news"],
						["研究中心", "/researchs"],
						["资源下载","/downloads"],
					 ].each do |title, link| %>
				 <li <%= "class='active'" if "/#{params[:controller]}" == link %>>	
				 	 <%= link_to title, link %>	
				 </li>
				<% end %>
			</ul>
</div>
<div id="header">
	<% if params[:controller] == "home" %>
		<%= render :partial => "image_header" %>
	<% end %>
</div>
